package com.whf.android.jar.constants;

import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 保存用户信息
 *
 * @author qf
 * @version 2023-04-23
 */
public final class RoleConstant {


    /*** 公司id */
    public static final String COM_ID = "COM_ID";
    /*** 公司 */
    public static final String COM_NAME = "COM_NAME";
    /*** 其他公司列表*/
    public static final String COM_LIST = "COM_LIST";
    /*** 部门id*/
    public static final String DEPARTMENT_ID = "DEPARTMENT_ID";
    /*** 部门 */
    public static final String DEPARTMENT_NAME = "DEPARTMENT_NAME";
    /*** 岗位id */
    public static final String POST_ID = "POST_ID";
    /*** 岗位 */
    public static final String POST = "POST";
    /*** 部门岗位的json */
    public static final String DEP_POST = "DEP_POST";


    @StringDef({COM_ID, COM_NAME, COM_LIST,
            DEPARTMENT_ID, DEPARTMENT_NAME,
            POST_ID, POST, DEP_POST})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Role {
    }
}
